﻿using CoreShop.Model.FromBody;
using CoreShop.Model.UI;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{

    /// <summary>
    /// 通用实体
    /// </summary>
    public class LxxDeviceInfoModel
    {
        /// <summary>
        /// 编码
        /// </summary>
        public int code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public DeviceInfoModel deviceInfo { get; set; }

    }

    /// <summary>
    /// 通用实体
    /// </summary>
    public class DeviceInfoModel
    {
        /// <summary>
        /// 编码
        /// </summary>
        public string deviceSN { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public ActivateInfoModel activateInfo { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public LxxShopModel shop { get; set; }
    }

    /// <summary>
    /// 通用实体
    /// </summary>
    public class ActivateInfoModel
    {
        /// <summary>
        /// 激活码
        /// </summary>
        public string activateCode { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int activateCodeType { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string activateExpireTime { get; set; }
    }

    /// <summary>
    /// 通用实体
    /// </summary>
    public class LxxShopModel
    {
        /// <summary>
        /// 序列
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 桌台分类Id
        /// </summary>
        public string scaleAlias { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string externalCode { get; set; }
    }   

}
